Skip to content

Conversation

jojobyte
Copy link

@jojobyte jojobyte commented Mar 17, 2023

NoDisplay=true prevents OS recognizing .desktop file and showing Handlers.

`NoDisplay=false` prevents OS recognizing `.desktop` file and showing Handlers.
@jojobyte jojobyte mentioned this pull request Mar 17, 2023
@FabianLars
Copy link
Owner

Thanks for the PR, i'll try to get to it over the weekend! ❤️

I do have to search through my notes first though because there was i reason i added that line, hopefully i wrote that down somewhere 😅

One really quick search before turning off my computer led me to this page https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html which explicitly mentions this plugin's use case as an example for NoDisplay, which to me suggests that it could be a popos bug too 🤔

Also i'd imagine that this can cause conflicts with the actual main .desktop file of the app (showing up twice for example) but we'll see.

@jojobyte
Copy link
Author

One really quick search before turning off my computer led me to this page https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html which explicitly mentions this plugin's use case as an example for NoDisplay, which to me suggests that it could be a popos bug too thinking

Interesting. Maybe it is a popos bug. I think the biggest problem with the NoDisplay=true option is you dont get to see the handlers in the settings.

image

VS

image

Also i'd imagine that this can cause conflicts with the actual main .desktop file of the app (showing up twice for example) but we'll see.

You're correct there. I was assuming this one was supposed to override the default, not be along side it.

Now I can see this is working, however I don't like it not showing the Handlers. This is where I think the PR tauri-apps/tauri#5180 would be useful so that its defined in both.

Not sure I understand the reasoning of why the .desktop file needs to change every time you open the program. Could you potentially elaborate or point me in the right direction so I can understand?

@FabianLars
Copy link
Owner

Not sure I understand the reasoning of why the .desktop file needs to change every time you open the program. Could you potentially elaborate or point me in the right direction so I can understand?

That's mainly because we support .deb and appimages at the same time here, the physical location of appimages may change at any time so we also need to update the .desktop file accordingly :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants